Optimal. Leaf size=83 \[ -\frac {a^3 \coth (c+d x) \text {csch}(c+d x)}{2 d}+\frac {a^2 (a-6 b) \tanh ^{-1}(\cosh (c+d x))}{2 d}+\frac {b^2 (3 a-b) \cosh (c+d x)}{d}+\frac {b^3 \cosh ^3(c+d x)}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {3186, 390, 385, 206} \[ \frac {a^2 (a-6 b) \tanh ^{-1}(\cosh (c+d x))}{2 d}-\frac {a^3 \coth (c+d x) \text {csch}(c+d x)}{2 d}+\frac {b^2 (3 a-b) \cosh (c+d x)}{d}+\frac {b^3 \cosh ^3(c+d x)}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 385
Rule 390
Rule 3186
Rubi steps
\begin {align*} \int \text {csch}^3(c+d x) \left (a+b \sinh ^2(c+d x)\right )^3 \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (a-b+b x^2\right )^3}{\left (1-x^2\right )^2} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=\frac {\operatorname {Subst}\left (\int \left ((3 a-b) b^2+b^3 x^2+\frac {a^2 (a-3 b)+3 a^2 b x^2}{\left (1-x^2\right )^2}\right ) \, dx,x,\cosh (c+d x)\right )}{d}\\ &=\frac {(3 a-b) b^2 \cosh (c+d x)}{d}+\frac {b^3 \cosh ^3(c+d x)}{3 d}+\frac {\operatorname {Subst}\left (\int \frac {a^2 (a-3 b)+3 a^2 b x^2}{\left (1-x^2\right )^2} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=\frac {(3 a-b) b^2 \cosh (c+d x)}{d}+\frac {b^3 \cosh ^3(c+d x)}{3 d}-\frac {a^3 \coth (c+d x) \text {csch}(c+d x)}{2 d}+\frac {\left (a^2 (a-6 b)\right ) \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\cosh (c+d x)\right )}{2 d}\\ &=\frac {a^2 (a-6 b) \tanh ^{-1}(\cosh (c+d x))}{2 d}+\frac {(3 a-b) b^2 \cosh (c+d x)}{d}+\frac {b^3 \cosh ^3(c+d x)}{3 d}-\frac {a^3 \coth (c+d x) \text {csch}(c+d x)}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 4.59, size = 210, normalized size = 2.53 \[ -\frac {\left (a+b \sinh ^2(c+d x)\right )^3 \left (3 a^3 \text {csch}^2\left (\frac {1}{2} (c+d x)\right )+3 a^3 \text {sech}^2\left (\frac {1}{2} (c+d x)\right )+12 a^3 \log \left (\sinh \left (\frac {1}{2} (c+d x)\right )\right )-12 a^3 \log \left (\cosh \left (\frac {1}{2} (c+d x)\right )\right )-72 a^2 b \log \left (\sinh \left (\frac {1}{2} (c+d x)\right )\right )+72 a^2 b \log \left (\cosh \left (\frac {1}{2} (c+d x)\right )\right )-72 a b^2 \sinh (c) \sinh (d x)-18 b^2 (4 a-b) \cosh (c) \cosh (d x)+18 b^3 \sinh (c) \sinh (d x)-2 b^3 \sinh (3 c) \sinh (3 d x)-2 b^3 \cosh (3 c) \cosh (3 d x)\right )}{3 d (2 a+b \cosh (2 (c+d x))-b)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.56, size = 1814, normalized size = 21.86 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.23, size = 174, normalized size = 2.10 \[ \frac {b^{3} {\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )}^{3} + 36 \, a b^{2} {\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )} - 12 \, b^{3} {\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )} - \frac {24 \, a^{3} {\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )}}{{\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )}^{2} - 4} + 6 \, {\left (a^{3} - 6 \, a^{2} b\right )} \log \left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )} + 2\right ) - 6 \, {\left (a^{3} - 6 \, a^{2} b\right )} \log \left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )} - 2\right )}{24 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 79, normalized size = 0.95 \[ \frac {a^{3} \left (-\frac {\mathrm {csch}\left (d x +c \right ) \coth \left (d x +c \right )}{2}+\arctanh \left ({\mathrm e}^{d x +c}\right )\right )-6 a^{2} b \arctanh \left ({\mathrm e}^{d x +c}\right )+3 a \,b^{2} \cosh \left (d x +c \right )+b^{3} \left (-\frac {2}{3}+\frac {\left (\sinh ^{2}\left (d x +c \right )\right )}{3}\right ) \cosh \left (d x +c \right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.34, size = 217, normalized size = 2.61 \[ \frac {1}{24} \, b^{3} {\left (\frac {e^{\left (3 \, d x + 3 \, c\right )}}{d} - \frac {9 \, e^{\left (d x + c\right )}}{d} - \frac {9 \, e^{\left (-d x - c\right )}}{d} + \frac {e^{\left (-3 \, d x - 3 \, c\right )}}{d}\right )} + \frac {3}{2} \, a b^{2} {\left (\frac {e^{\left (d x + c\right )}}{d} + \frac {e^{\left (-d x - c\right )}}{d}\right )} + \frac {1}{2} \, a^{3} {\left (\frac {\log \left (e^{\left (-d x - c\right )} + 1\right )}{d} - \frac {\log \left (e^{\left (-d x - c\right )} - 1\right )}{d} + \frac {2 \, {\left (e^{\left (-d x - c\right )} + e^{\left (-3 \, d x - 3 \, c\right )}\right )}}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - e^{\left (-4 \, d x - 4 \, c\right )} - 1\right )}}\right )} - 3 \, a^{2} b {\left (\frac {\log \left (e^{\left (-d x - c\right )} + 1\right )}{d} - \frac {\log \left (e^{\left (-d x - c\right )} - 1\right )}{d}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.22, size = 229, normalized size = 2.76 \[ \frac {\mathrm {atan}\left (\frac {{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c\,\left (a^3\,\sqrt {-d^2}-6\,a^2\,b\,\sqrt {-d^2}\right )}{d\,\sqrt {a^6-12\,a^5\,b+36\,a^4\,b^2}}\right )\,\sqrt {a^6-12\,a^5\,b+36\,a^4\,b^2}}{\sqrt {-d^2}}+\frac {b^3\,{\mathrm {e}}^{-3\,c-3\,d\,x}}{24\,d}+\frac {b^3\,{\mathrm {e}}^{3\,c+3\,d\,x}}{24\,d}+\frac {3\,b^2\,{\mathrm {e}}^{c+d\,x}\,\left (4\,a-b\right )}{8\,d}+\frac {3\,b^2\,{\mathrm {e}}^{-c-d\,x}\,\left (4\,a-b\right )}{8\,d}-\frac {a^3\,{\mathrm {e}}^{c+d\,x}}{d\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}-1\right )}-\frac {2\,a^3\,{\mathrm {e}}^{c+d\,x}}{d\,\left ({\mathrm {e}}^{4\,c+4\,d\,x}-2\,{\mathrm {e}}^{2\,c+2\,d\,x}+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________